package com.asj.vivo.lock.enums;

/**
 * 设备标识字典
 * */
public enum DeviceIdentifierDictEnums {
    //设备的各个状态
    LOCKUP_MACHINE("lockupMachine","待锁定"),
    LOCKED("locked","已锁定"),
    TO_BE_UNLOCKED("toBeUnlocked","待解锁"),
    UNLOCKED("unlocked","已解锁"),
    ON_LINE("onLine","正常"),
    OFF_LINE("offLine","离线"),
    PENDING_SUPERVISE("pendingSupervise","待取消监管"),
    CANCEL_SUPERVISE("cancelSupervise","已取消监管"),
    INVALID("invalid","无状态"),

    //设备绑定判断时的响应
    DEVICE_NA("deviceN/A","设备已存在"),
    DEVICE_OP_KEY_BIND_DEVICE("bindDevice","绑定设备操作类型"),
    DEVICE_ALREADY_EXIST("deviceAlreadyExist","设备已在后台绑定"),
    DEVICE_UN_REGISTRATION("deviceUnRegistration","设备还未注册，请等待注册后再次尝试"),
    DEVICE_UN_EXIST("deviceUnExist","后台还未存在该设备信息，请先在后台录入信息"),
    deviceUnExistButCanBind("deviceUnExistButCanBind","后台还未存在存活的设备信息，可以进行绑定"),

    //设备的各个部分的参数key
    DEVICE_CODE("deviceCode","设备code，也就是设备IMEI"),
    DEVICE_INFO("deviceInfo","设备信息"),
    DEVICE_BATTER_PERCENTAGE("batteryPercentage","电池电量"),
    DEVICE_PHONE_NUMBER("phoneNumber","手机号码"),
    DEVICE_POSITION("devicePosition","地理未知"),
    DEVICE_WIFI_OR_FLOW("wifiOrFlow","网络类型，wifi或者流量"),
    DEVICE_ALL_OPERATION_INTERFACES("allOperationalInterfaces","所有SDK可操作的接口"),


    /* android接收JSON参数给的JsonKey */
    //设备锁定时操作的key
    json_key_lockStatus("lockStatus","设备的锁定/解锁状态的JsonKey"),
    json_key_lockRemarks("lockRemarks","设备的锁定备注的JsonKey"),
    json_key_lockPhone("lockPhone","设备的锁定联系电话的JsonKey"),
    json_key_lockPassword("lockPassword","设备的锁定密码的JsonKey"),

    //设备信息相关的key
    json_key_superviseStatus("superviseStatus","设备的监管状态的JsonKey"),
    json_key_deviceCode("deviceCode","设备编号/IMEI的JsonKey"),
    json_key_simpleUUID("simpleUUID","操作日志的唯一编号的JsonKey"),
    json_key_deviceId("deviceId","设备在数据库中的主键id"),

    //回馈信息的数据key
    json_key_resultMsg("resultMsg","操作回馈的信息的JsonKey"),
    json_key_resultData("resultData","操作回馈的资源信息的JsonKey"),
    //后台返回的数据key
    json_key_message("message","信息"),
    json_key_result("result","返回值"),
    json_key_state("state","状态"),
    json_key_code("code","状态码"),
    //app信息相关的key
    json_key_localAppData("localAppData","本地app数据"),
    json_key_localNewApp("localNewApp","本地app中心不存在的，需要补充的app数据"),
    json_key_deviceAppData("deviceAppData","设备本身的app数据"),

    //app操作 卸载/安装相关的key
    json_key_appInfo("appInfo","app信息"),
    json_key_appOption("appOption","app操作"),
    actionPackageAdded("actionPackageAdded","安装应用"),
    actionPackageRemoved("actionPackageRemoved","卸载应用"),

    //代表是设备主动同步数据
    json_key_isDeviceSendSync("isDeviceSendSync","代表是设备主动发起数据同步"),

    //获取各个限制项值的前缀
    json_key_disabledAppInfo("disabledAppInfo","获取所有已禁用的应用信息"),
    json_key_restrictSettingInfo("restrictSettingInfo","获取所有已限制的限制项"),

    //设备各项操作的前缀
    json_key_device_operation_info("deviceOperationInfo","设备各项操作的前缀"),

    //各项关于设备的操作
    functionRestrict("functionRestrict","功能项限制"),
    clearFunctionRestrict("clearFunctionRestrict","清除所有功能项限制"),
    lockOperation("lockOperation","锁机操作"),
    lockMachine("lockMachine","锁定设备"),
    unlockMachine("unlockMachine","解锁设备"),
    cancelSupervision("cancelSupervision","取消监管"),

    restrictAppBlack("restrictAppBlack","设置应用黑名单"),
    restrictAppWhiteList("restrictAppWhiteList","白名单"),
    restrictAppBlackList("restrictAppBlackList","黑名单"),
    restrictBlackResult("restrictBlackResult","设置黑名单结果"),
    restrictWhiteResult("restrictWhiteResult","设置白名单结果"),

    deviceRecovery("deviceRecovery","恢复出厂"),
    syncDeviceInfo("syncDeviceInfo","同步设备信息"),
    clearScreenLockPassword("clearScreenLockPassword","清除锁屏密码"),

    //版本更新
    appVersionUpdate("appVersionUpdate","app版本更新"),
    appVersionDeviceReceiptTime("appVersionDeviceReceiptTime","设备接收到版本推送的时间"),
    deviceUpdateCompletionTime("deviceUpdateCompletionTime","设备下载完成时间"),
    appVersionUpdateStep("appVersionUpdateStep","更新到哪一步骤"),
    appVersionNumber("appVersionNumber","更新版本"),
    appVersionUpdateUrl("appVersionUpdateUrl","更新版本的下载地址"),

    updateAppLogoAndName("updateAppLogoAndName","动态更换app的图标和名称"),
    ;
    public String getValue() {
        return value;
    }
    public String getRemark() {
        return remark;
    }

    DeviceIdentifierDictEnums(String value, String remark) {
        this.value = value;
        this.remark = remark;
    }


    private final String value;
    private final String remark;
}
